FROM node

WORKDIR /usr/src/pc_manage
COPY package.json .

RUN npm install
RUN npm install -g pm2

COPY . .

EXPOSE 8087
CMD [ "npm", "run","start" ]